package de.tabuma.ssoclient.entity;

/**
 * @author $Author: $
 * @version $Revision: $
 * @since $Date: $
 */
public class Privileg {

    Long id;
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }

    String name;
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    String description;
    public String getDescription() {
        return description;
    }
    public void setDescription(String description) {
        this.description = description;
    }

    int projectId;
    public int getProjectId() {
        return projectId;
    }
    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    int art;
    public int getArt() {
        return art;
    }
    public void setArt(int art) {
        this.art = art;
    }

    Boolean admin = new Boolean(Boolean.FALSE);
    public Boolean getAdmin() {
        if(admin==null) {
            admin = new Boolean(Boolean.FALSE);
        }
        return admin;
    }
    public void setAdmin(Boolean admin) {
        this.admin = admin;
    }
}
